package com.holly.unit.bpmn.activiti.pojo;

import com.holly.unit.core.pojo.request.BaseRequest;
import com.holly.unit.scanner.api.annotation.field.ChineseDescription;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 类描述: 根据参数获取流程节点信息
 *
 * @author fxr
 * @version 1.0.0
 * @date 2022/2/25 13:44
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ProcessDefGetNodeRequest extends BaseRequest {

    /***
     * 主键id
     */
    @NotNull(message = "流程定义id不能为空", groups = {getProcessNodeById.class})
    @ChineseDescription("流程定义id")
    private String id;

    /**
     * 参数校验分组：禁用 or 启用
     */
    public @interface getProcessNodeById {
    }

}
